from rest_framework.serializers import *
from django.contrib.auth.models import *


class PermissionSerializer(ModelSerializer):
    class Meta:
        model = Permission
        # fields = ['id', 'name', 'codename']
        fields = '__all__'


class ContentTypeSerializer(ModelSerializer):
    class Meta:
        model = ContentType
        fields = ['id', 'name']
